package com.mmd.openfire_admin.dao;

import com.mmd.openfire_admin.generator.pojo.Ofpubsubaffiliation;
import com.mmd.openfire_admin.generator.pojo.OfpubsubaffiliationExample;
import com.mmd.openfire_admin.generator.pojo.OfpubsubaffiliationKey;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OfpubsubaffiliationMapper {
    int countByExample(OfpubsubaffiliationExample example);

    int deleteByExample(OfpubsubaffiliationExample example);

    int deleteByPrimaryKey(OfpubsubaffiliationKey key);

    int insert(Ofpubsubaffiliation record);

    int insertSelective(Ofpubsubaffiliation record);

    List<Ofpubsubaffiliation> selectByExample(OfpubsubaffiliationExample example);

    Ofpubsubaffiliation selectByPrimaryKey(OfpubsubaffiliationKey key);

    int updateByExampleSelective(@Param("record") Ofpubsubaffiliation record, @Param("example") OfpubsubaffiliationExample example);

    int updateByExample(@Param("record") Ofpubsubaffiliation record, @Param("example") OfpubsubaffiliationExample example);

    int updateByPrimaryKeySelective(Ofpubsubaffiliation record);

    int updateByPrimaryKey(Ofpubsubaffiliation record);
}